import React from 'react'
import { useRoutes } from 'react-router-dom'
import routes from './routes'
import { filterRoutes } from './utils'
export default function App() {
  const authRoutes = useRoutes(filterRoutes(routes))
  return (
    <>
      {authRoutes}
    </>
  )
}
